package com.shop.cereshop.app.domain.product;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.shop.cereshop.app.annotation.KeepLongAsNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description:
 * @author zdd
 * @date 2025/10/23 16:35
 * @version 1.0
 */
@ApiModel(value = "SuggestShopProductVO", description = "推荐店铺的商品响应对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShopProductVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "店铺ID")
    @KeepLongAsNumber
    private Long shopId;

    @ApiModelProperty(value = "商家类型 1-同城服务 2-线上商城 3-同城配送")
    private Integer shopType;

    @ApiModelProperty(value = "商品ID")
    @KeepLongAsNumber
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品卖点简介")
    private String productBrief;

    @ApiModelProperty(value = "商品售卖类型 1-同城服务 2-线上商城 3-同城配送")
    private Integer productType;

    @ApiModelProperty(value = "商品图片")
    private String productImage;

    @ApiModelProperty(value = "店铺编码")
    @JsonIgnore
    private String classifyId2;

    @ApiModelProperty(value = "skuId")
    @JsonIgnore
    private String skuId;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "售价")
    private BigDecimal price;


}
